using WCell.Constants;
using WCell.RealmServer.Entities;

namespace WCell.RealmServer.Spells.Effects.Custom
{
	/// <summary>
	/// Have an undead feed of flesh
	/// </summary>
	public class CannibalizeEffectHandler : SpellEffectHandler
	{
		public CannibalizeEffectHandler(SpellCast cast, SpellEffect effect)
			: base(cast, effect)
		{
		}

		protected override void Apply(WorldObject target)
		{
			var cast = m_cast;
			if (cast != null)
			{
				var caster = cast.Caster;
				//((Unit)caster).EmoteState
			}
		}

		public override ObjectTypes CasterType
		{
			get
			{
				return ObjectTypes.Unit;
			}
		}
	}
}
